#include <gtest/gtest.h>
#include "../log.h"
#include <iostream>

TEST(TEST_LOG, TEST_LOG) {
    bamboo::LogFormatter format;
    bamboo::StdoutLogAppender::ptr appenderptr(new bamboo::StdoutLogAppender());

    bamboo::Logger log;
    bamboo::LogEvent::ptr logEvent;
    log.setLogLevel(bamboo::LogLevel::DEBUG);
    log.addAppender(appenderptr);
    log.debug(logEvent);
}

int main(int argc, char *argv[]) {
    testing::InitGoogleTest(&argc, argv);
    return RUN_ALL_TESTS();
}
